package com.km.uploadoss.model;

/**
 * Created by cxw on & 2019/2/20
 */
public class PicInfo {
    private int uploadState;// 0未上传 1上传中 2上传完成 3上传失败
    private int uploadProgress;// 上传进度
    private String originalPath;// 原图路径
    private String imageUri;// 上传到oss的url

    public PicInfo(String originalPath) {
        this.uploadState = 0;
        this.uploadProgress =0;
        this.originalPath = originalPath;
        this.imageUri = "";
    }

    public int getUploadState() {
        return uploadState;
    }

    public void setUploadState(int uploadState) {
        this.uploadState = uploadState;
    }

    public int getUploadProgress() {
        return uploadProgress;
    }

    public void setUploadProgress(int uploadProgress) {
        this.uploadProgress = uploadProgress;
    }

    public String getOriginalPath() {
        return originalPath;
    }

    public void setOriginalPath(String originalPath) {
        this.originalPath = originalPath;
    }

    public String getImageUri() {
        return imageUri;
    }

    public void setImageUri(String imageUri) {
        this.imageUri = imageUri;
    }
}
